import request from '@/utils/request'

// 统计明细
export function gettabListpage(data) {
    return request({
        url: '/web/tCleanoutRecord/list/table',
        method: 'post',
        data
    })
}

export function exportToExcel(data) {
    return request({
        url: '/web/tCleanoutRecord/export/excel',
        method: 'post',
        data
    })
}

// 统计图表
// 1.表格列表
export function sheetList(selyear) {
    return request({
        url: '/web/tCountTable/sheet/' + selyear,
        method: 'get'
    })
}

export function growthEchar(data) {
    return request({
        url: '/web/tCountTable/growth',
        method: 'post',
        data
    })
}

export function barEchar(data) {
    return request({
        url: '/web/tCountTable/bar',
        method: 'post',
        data
    })
}

/**
 * 上课日志log
 */
export function logKsList(data) {
    return request({
        url: '/web/tTeachingRecord/list',
        method: 'post',
        data
    })
}